package com.ws.dll.impl;

import java.util.HashMap;

public class ParseMapInfo {
    /**
     * 设置报文映射值
     * @return
     */
    public static HashMap<String, String> intDataMap() {
        // 参照文档2.1.3 Data格式
        HashMap<String, String> dataMap = new HashMap<>(24);
        dataMap.put("#1","银行卡号");
        dataMap.put("#2","交易金额");
        dataMap.put("#3","POS流水号");
        dataMap.put("#4","授权码");
        dataMap.put("#5","系统参考号");
        dataMap.put("#6","交易日期");
        dataMap.put("#7","交易时间");
        dataMap.put("#8","终端号");
        dataMap.put("#9","发卡行代码");
        dataMap.put("#A","发卡行名称");
        dataMap.put("#B","OPENID");
        dataMap.put("#P","借记总笔数");
        dataMap.put("#Q","借记总金额");
        dataMap.put("#R","贷记总笔数");
        dataMap.put("#S","贷记总金额");
        dataMap.put("#M","商户号");
        dataMap.put("#N","商户名称");
        dataMap.put("#O","上游交易订单号");
        dataMap.put("#E","卡片有效期");
        dataMap.put("#K","三方订单OrderId");
        dataMap.put("#D","订单编号");
        dataMap.put("#C","批次号");
        dataMap.put("#J","线上借记总笔数");
        dataMap.put("#F","线上借记总金额");
        dataMap.put("#G","线上贷记总笔数");
        dataMap.put("#H","线上贷记总金额");
        dataMap.put("#I","发卡组织CUP：内卡");
        return dataMap;
    }
}
